

const reverse = (value = 'lets taake leetCode') => {
    let arr = value.split(' ');
    arr = arr.map((item)=>{
    return item.split('').reverse().join('');
    });
    return arr;
}